package com.neoCalf.neoChat.feigns;

import com.neoCalf.neoCommon.entity.UserContact;
import com.neoCalf.neoCommon.model.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * @author 小牛
 * @version 1.0
 * @description TODO
 * @date 2025/4/13 2:11
 */
@FeignClient(value = "contactService", path = "/api")
public interface ContactServiceFeign {
    @PostMapping("/contact/findUserContact")
    R<UserContact> findUserContact(@RequestParam("userId") String userId, @RequestParam("contactId") String contactId);
}
